<?php
  
  if (isset($_REQUEST['table']) and isset($_REQUEST['id2'])) { 
  $resultForm=mysql_query("SELECT * FROM ".$_REQUEST['table']." WHERE id2='".$_REQUEST['id2']."'");
  if (mysql_num_rows($resultForm)>0) { 
    $lineform=mysql_fetch_array($resultForm);$lineform=array_change_key_case($lineform);
  } else {
    echo "<b>Kein Datensatz gefunden.</b>";
  }
  }
            
?>
